import request from '@/utils/request'

// 查询砂石骨料日报列表
export function listBonedailyreport(query) {
  return request({
    url: '/app/bonedailyreport/list',
    method: 'get',
    params: query
  })
}

// 查询砂石骨料日报详细
export function getBonedailyreport(id) {
  return request({
    url: '/app/bonedailyreport/' + id,
    method: 'get'
  })
}

// 新增砂石骨料日报
export function addBonedailyreport(data) {
  return request({
    url: '/app/bonedailyreport',
    method: 'post',
    data: data
  })
}

// 修改砂石骨料日报
export function updateBonedailyreport(data) {
  return request({
    url: '/app/bonedailyreport',
    method: 'put',
    data: data
  })
}

// 删除砂石骨料日报
export function delBonedailyreport(id) {
  return request({
    url: '/app/bonedailyreport/' + id,
    method: 'delete'
  })
}
// 砂石骨料类型
export function getAggregateList(params) {
  return request({
    url: '/app/aggregate/list',
    method: 'get',
    params
  })
}
